package demo2;

class Cat extends Animal {
    public Cat(String color,int legs){
        super(color,legs);
    }
    public void catchMouse(){
        System.out.println("抓老鼠");
    }

}
